const formFields = [
  {
    name: 'username',
    label: 'Username',
    type: 'text',
    required: true,
    regex: /^[a-zA-Z0-9_]{4,16}$/,
    regexMessage: 'Username must be 4-16 characters long and contain only letters, numbers, and underscores.',
    placeholder: 'Enter your username',
    defaultValue: '',
  },
  {
    name: 'gender',
    label: 'Gender',
    type: 'radio',
    required: true,
    options: [
      { value: 'male', label: 'Male' },
      { value: 'female', label: 'Female' },
    ],
    defaultValue: '',
  },
  {
    name: 'hobbies',
    label: 'Hobbies',
    type: 'checkbox',
    options: [
      { value: 'reading', label: 'Reading' },
      { value: 'sports', label: 'Sports' },
      { value: 'movies', label: 'Movies' },
    ],
    defaultValue: [],
  },
  {
    name: 'country',
    label: 'Country',
    type: 'select',
    required: true,
    options: [
      { value: 'usa', label: 'USA' },
      { value: 'canada', label: 'Canada' },
      { value: 'uk', label: 'UK' },
    ],
    placeholder: 'Select your country',
    defaultValue: '',
  },
];

export { formFields };
